﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopSubUserInfo : BaseObject
    {
        //begin
        public TopSubUserInfo(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Nick;
        [Size(SizeAttribute.Unlimited)]
        public string Nick
        {
            get
            {
                return _Nick;
            }
            set
            {
                SetPropertyValue("Nick", ref _Nick, value);
            }
        }
        private string _SellerId;
        [Size(SizeAttribute.Unlimited)]
        public string SellerId
        {
            get
            {
                return _SellerId;
            }
            set
            {
                SetPropertyValue("SellerId", ref _SellerId, value);
            }
        }
        private string _SellerNick;
        [Size(SizeAttribute.Unlimited)]
        public string SellerNick
        {
            get
            {
                return _SellerNick;
            }
            set
            {
                SetPropertyValue("SellerNick", ref _SellerNick, value);
            }
        }
        private long _Status;
        public long Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private long _IsOnline;
        public long IsOnline
        {
            get
            {
                return _IsOnline;
            }
            set
            {
                SetPropertyValue("IsOnline", ref _IsOnline, value);
            }
        }
        private string _FullName;
        [Size(SizeAttribute.Unlimited)]
        public string FullName
        {
            get
            {
                return _FullName;
            }
            set
            {
                SetPropertyValue("FullName", ref _FullName, value);
            }
        }
        private string _SubId;
        [Size(SizeAttribute.Unlimited)]
        public string SubId
        {
            get
            {
                return _SubId;
            }
            set
            {
                SetPropertyValue("SubId", ref _SubId, value);
            }
        }
        //end
    }
}
